package org.ziyuandagong.file.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 自愿打工
 * @since 2024-12-06
 */
@TableName("file_recycle_bin")
@ApiModel(value = "RecycleBin对象", description = "")
public class RecycleBin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("回收站记录唯一标识符")
    private String recycleBinId;

    @ApiModelProperty("被删除的文件ID")
    private String fileId;

    @ApiModelProperty("删除文件的用户ID")
    private String deleteUserId;

    @ApiModelProperty("文件被删除进入回收站的时间")
    private LocalDateTime deleteDate;

    @ApiModelProperty("文件在回收站的过期时间")
    private LocalDateTime expirationDate;

    public String getRecycleBinId() {
        return recycleBinId;
    }

    public void setRecycleBinId(String recycleBinId) {
        this.recycleBinId = recycleBinId;
    }
    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }
    public String getDeleteUserId() {
        return deleteUserId;
    }

    public void setDeleteUserId(String deleteUserId) {
        this.deleteUserId = deleteUserId;
    }
    public LocalDateTime getDeleteDate() {
        return deleteDate;
    }

    public void setDeleteDate(LocalDateTime deleteDate) {
        this.deleteDate = deleteDate;
    }
    public LocalDateTime getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(LocalDateTime expirationDate) {
        this.expirationDate = expirationDate;
    }

    @Override
    public String toString() {
        return "RecycleBin{" +
            "recycleBinId=" + recycleBinId +
            ", fileId=" + fileId +
            ", deleteUserId=" + deleteUserId +
            ", deleteDate=" + deleteDate +
            ", expirationDate=" + expirationDate +
        "}";
    }
}
